home *** CD-ROM | disk | FTP | other *** search
AppleWorks Document | 1991-10-11 | 3.0 KB | 82 lines | [1A /pdos] |
- O=====|====|====|====|====|====|====|====|====|====|====|====|====|====|====|===
- GSBug Notes
- Weird screen stuff (every other column is a column of
- spaces)
- Breakpoint
- <value to break on>;
- <tab> or <spacebar> to set 1 as the iteration to break on
- 8<iteration to break at; e.g., 1> or "i" for conditional
- breakpoints
- <esc>
- in sets real-time breakpoints
- r return to program execution
- Breakpoint conditionally
- <value to break on>
- <right arrow>
- i for conditional breakpoints
- <esc>9
- 7SETIF <B or W> expression exprssn operators: =, # (not &
- equal), <, > (greater than or equal);
- 9SETIF W A<#$0101 break if word in accum is less than the
- constant (#) $0101;
- 9SETIF B $021234=$034321 break if byte at $02/1234 is the
- same as byte at $03/43218
- 6SETIF W X>Y break if word in X greater than word in Y
- (regs: AXYSDPB)
- in sets real-time breakpoints
- r return to program execution
- Breakpoint if value in register is such-and-such
- 9setif W A>#$0001 W for word value; A for accum; > for ?;
- so if accum>0, then break
- <value to break on>
- <right arrow>)
- i for 'if'; puts 'IF' in iteration area
- <esc>
- in sets real-time breakpoints
- Memory, display
- <address> 16 bytes on the command line7
- 5<address>: flip to memory screen (21 lines, 16 bytes
- each) (ESC to return)
- DP: direct page6
- DP:xxx 16 bytes from direct page:xxx to command line1
- <address>:: indirection: use 2 bytes at address2
- <address>::: indirection: use 3 bytes at address!
- <spacebar> next block of memory
- Memory, set
- 4<address>:value put hex value in memory starting at
- address
- Monitor, visit
- 6Mon NOTE: it blows K / PC / Stack / DP / B / ... Use
- NiftyList!!
- Ctrl-Y <return> return to GSBug
- Nifty List shortcut
- N transfers control to NiftyList
- OS Breaks
- SetOSBrk _OpenGS append GS for Class 1 calls!!!
- OSBrkIn
- ShowBrks
- Registers, alter contents (case sensitive)
- 8<register>=<value> use A, X, Y, K, PC, K/PC, B, D, S, P
- (& M,Q,L)
- x toggles x bit of P
- m toggles m bit of P
- e toggles emulation mode9
- DPAGE sets D to direct page allocated for user by GSBug3
- STACK sets S to stack allocated for user by GSBug
- Set Step-and-Trace highlighted line
- <up-arrow> <up-arrow> ... as many times as necessary
- <esc>)
- CSave *:System:System.Setup:GSBug.Setup
- <space> for each step
- X skip across a jsr or jsl#
- <downarrow> skip next instruction
- Templates
- _templates display templategroups(
- _<templategroup> display templatenames9
- 7_<templatename> <addr> display memory at <addr> in the
- form of the template
- Tool Breaks
- SetTBrk _ShutDownTools
- TBrkIn
- ShowBrks
-